<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>getDay</title>
		<script type="text/javascript">
			//var   /vɑr/
			//alert   /əˈlɜːrt/
			//Date    /deɪt/
			//get  /ɡet/
			//Day  /deɪ/
			
			
			var d = new Date();
			// getDay方法从Date对象返回一周中的某一天(0~6)
			alert(d.getDay());   //0----星期天
		</script>
	</head>
	<body>
	</body>
</html>
